#ifndef _ZHONGDUNDATA_H_
#define _ZHONGDUNDATA_H_
#include "type.h"
#include "cli_main.h"

bool initZhongDunRecordPath();
void zhongdunHandleRecord(PHONE_TMP *tmp, ZHONGDUNLIST *mobile, ZHONGDUNLIST *unicom);
void cleanList();
bool findOneRecord(bool isMobile, SEARCHRECORD record, ZHONGDUNDATA *data);
void search50DayRecord(bool isMobile, ZHONGDUN_DB_LIST *list);
I32 refRecordSize(bool isMobile, I8 *date);
void setSendRecordSn(bool isMobile, U16 sn);
bool getRecordBySn(bool isMobile, ZHONGDUNLIST *list, U16 *Sn);
void cleanDataByModel(bool isMobile);
#endif
